package com.talent.pojo;

public class Depart {
    private Integer id;

    private String code;

    private String name;

    private String abbr;

    public Depart(Integer id, String code, String name, String abbr) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.abbr = abbr;
    }

    public Depart() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAbbr() {
        return abbr;
    }

    public void setAbbr(String abbr) {
        this.abbr = abbr == null ? null : abbr.trim();
    }
}